{% extends 'learing_logs/base.html' %}

{% load bootstrap3 %}

{% block header %}
    <h6>注册一个账号开始自己的学习之旅</h6>
{% endblock header%}

{% block content %}
    <form action="{% url 'users:register' %}" method="post" >
        {% csrf_token %}
        {% bootstrap_form form %}
        {% buttons %}
        <button name="submit" class="btn btn-primary" >注册</button>
        {% endbuttons %}
        
        <input type="hidden" name="next" value="{% url 'learing_logs:index' %}" />
    </form>
{% endblock content %}